<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>会员订单详情 - ${web.name}${web.additionalTitle!}</title>
<link href="${root}/u/css/main.css" type="text/css" rel="stylesheet" />
<link href="${root}/u/css/memeber.css" type="text/css" rel="stylesheet" />
<link href="${root}/u/css/order.css" type="text/css" rel="stylesheet" />
<script src="${root}/u/js/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
//确认收货
function accomplishOrder(orderId){
	$("#jvForm").submit(function(){
		return false;
	});
	$.post('${base}/order/accomplishyuShouOrder.jspx', {
		'orderId' : orderId
	}, function(data) {
		if(data.success){
			location.reload();
		}
	},'json');
}
</script>
</head>
<body>
[#include "../include/会员中心页头顶栏.html"/]
<div class="w1168">
	[#include "会员中心_导航.html"/]
	<div id="container" class="user_right">
		<div class="user_title_r">
        	<div class="user_title_l">预售订单成功详情</div>
        </div>
        <div class="clear20"></div>	 
        <div class="user_title_r">
			[#if order.shippingStatus==2]
				[#if order.paymentStatus==2]
					<button class="dingdanbutton" onclick="accomplishOrder(${order.id!});" style="color:#F00;">确认收货</button>
				[/#if]	
			[/#if]
		</div>
        <div class="clear20"></div>	 
        <!-- 查看物流 -->
        <div class="user_title_r">
			[#if order.shippingStatus==2]<a class="aBlu" href="/order/viewLogistic.jspx?orderId=${order.id!}&yushou='yushou'" style="color:#F00;" target="_blank">查看物流</a>[/#if]
		</div>
		<!-- 查看物流 -->
        <div class="clear20"></div>	 
          
        <div class="order_infod">
            <div class="order_conhead">
            <ul>
            <li>预售订单编号：<span style="color:#fe0000;">${order.code}</span></li>
            <li>预售订单下单日期：<span style="color:#fe0000;">${order.createTime}</span></li>
            <li>预售订单状态：<span style="color:#fe0000;">[@s.m "order.status.${order.status}"/]</span></li>
            </ul>
            </div>
            
            <div class="order_continf">
                <dl>    
                <dt>收货人信息</dt>
                <dd>收货人：${order.receiveName!}</dd>
                <dd>收货地址：${order.receiveAddress!} </dd>
                <dd>手机号码：${order.receiveMobile!}</dd>
                <dd>邮政编码：${order.receiveZip!}</dd>
                </dl>
                <dl>
                <dt>配送信息</dt>
                <dd>送货方式：${order.shipping.name}</dd>
                <dd>运费：&yen;${order.freight!}</dd>
                <dd>物流单号： ${order.invoiceNo!}</dd>
                </dl>
                <dl>
                <dt>支付信息</dt>
                <dd>支付状态：[@s.m "order.paymentStatus.${order.paymentStatus}"/]</dd>
                <dd>支付方式： ${order.payment.name}</dd>
                </dl>              
            </div>
        </div>
	</div>
	<div class="clear20"></div>
</div>
[#include "../include/footer_information_bar.html"/]
</body>
</html>